// 数据库配置项
const dbConfig = {
  databaseName: 'xinlang',
  username: 'root',
  password: '123456jia'
}
//阿里云oss配置项
const ossConfig={
  region: 'oss-cn-beijing',
  accessKeyId: 'LTAI5tFquGQrKaTNoR1k5jar',
  accessKeySecret: 'qXrxphiT6h9pcblq0aCMq4OOLcqxQ2',
  bucket: 'xinlang-bucket',
}
// jwt 校验配置项
const access_security = {
  secretKey: 'mH5D6AUSaqBs5tiv',
  expiresIn: '2 h'// 过期时间
}
// jwt 刷新令牌 校验配置项
const refresh_security = {
  secretKey: 'mH5D6AUSaqBs5tif',
  expiresIn: '30 days'// 过期时间
}
// cookie 有效时间 单位ms
const cookieMaxAge = 60 * 60 * 24 * 30 * 1000
module.exports = {
  dbConfig,
  access_security,
  refresh_security,
  cookieMaxAge,
  ossConfig
}
